package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Item;

import java.util.List;

public interface ItemDao {

    public Page<Item> selectByCondition(String queryString);

    public void add(Item item);

    public void deleteById(Integer id);

    public void edit(Item item);

    public Item findById(Integer id);

    public List<Item> findAll();
}
